<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>留言板-登录</title>
  <link rel="stylesheet" type="text/css" href="<?php echo assets('css/form.css')?>">
</head>
<body>
  <div id="wrapper">
    <form method="post" action="<?php echo url('auth/auth') ?>">
      <div class="row">
        <div class="input-box">
        	<label>邮&nbsp;&nbsp;&nbsp;&nbsp;箱</label>
        	<input type="text" name="email" placeholder="请输入邮箱">
        </div>
        <div class="error">
          <?php echo isset($errorBag['error']) ? $errorBag['error'] : ''  ?>
        </div>
      </div>
      <div class="row">
      	<div class="input-box">
      	  <label>密&nbsp;&nbsp;&nbsp;&nbsp;码</label>
      	  <input type="password" name="password" placeholder="请输入密码">
      	</div>
      </div>
      <div class="row" style="height: 30px; line-height: 30px;">
         <div  style="width:400px; margin:0 auto; text-align: left;font-size: 14px;color:#222;">
           <input type="checkbox" id="remember-me" name="remember-me" value="1">
           <label for="remember-me">记住我</label>
        </div>
      </div>
      <div class="row">
          <button class="btn-large">登录</button>
      </div>
      <div class="info">
        还没有账号？现在<a href="<?php echo url('auth/register') ?>">注册</a>
      </div>
    </form>
  </div>
</body>
</html>